﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineAuction.Entity
{
    public class ItemsE
    {
        private int _categoryID;
        private string _itemName;
        private string _itemImage1;
        private string _itemImage2;
        private string _itemImage3;
        private string _itemImage4;
        private string _itemDescription;
        private int _itemID;
        private int _auctionID;
        private string _auctionTypeName;
        private int _auctionTypeID;
        private double _firstPrice;
        private double _expectationPrice;
        private string _timeFinishAuction;
        private double _bidIncrement;
        private double _timeIncrement;
        private double _price;
        private string _winner;
        private int p1;
        private string p2;
        private string p3;
        private int p4;
        private double p5;
        private double p6;
        private object p7;
        private string p8;

        public string Winner
        {
            get { return _winner; }
            set { _winner = value; }
        }

        public double Price
        {
            get { return _price; }
            set { _price = value; }
        }

        public double TimeIncrement
        {
            get { return _timeIncrement; }
            set { _timeIncrement = value; }
        }

        public double BidIncrement
        {
            get { return _bidIncrement; }
            set { _bidIncrement = value; }
        }

        public string TimeFinishAuction
        {
            get { return _timeFinishAuction; }
            set { _timeFinishAuction = value; }
        }

        public double ExpectationPrice
        {
            get { return _expectationPrice; }
            set { _expectationPrice = value; }
        }

        public double FirstPrice
        {
            get { return _firstPrice; }
            set { _firstPrice = value; }
        }

        public int AuctionTypeID
        {
            get { return _auctionTypeID; }
            set { _auctionTypeID = value; }
        }

        public string AuctionTypeName
        {
            get { return _auctionTypeName; }
            set { _auctionTypeName = value; }
        }

        public int AuctionID
        {
            get { return _auctionID; }
            set { _auctionID = value; }
        }

        public int ItemID
        {
            get { return _itemID; }
            set { _itemID = value; }
        }

        public string ItemDescription
        {
            get { return _itemDescription; }
            set { _itemDescription = value; }
        }

        public string ItemImage4
        {
            get { return _itemImage4; }
            set { _itemImage4 = value; }
        }

        public string ItemImage3
        {
            get { return _itemImage3; }
            set { _itemImage3 = value; }
        }

        public string ItemImage2
        {
            get { return _itemImage2; }
            set { _itemImage2 = value; }
        }

        public string ItemImage1
        {
            get { return _itemImage1; }
            set { _itemImage1 = value; }
        }

        public string ItemName
        {
            get { return _itemName; }
            set { _itemName = value; }
        }

        public int CategoryID
        {
            get { return _categoryID; }
            set { _categoryID = value; }
        }

        public ItemsE(int categoryID, string itemName, string itemImage1, string itemImage2,
                    string itemImage3, string itemImage4, string itemDescription)
        {
            _categoryID = categoryID;
            _itemName = itemName;
            _itemImage1 = itemImage1;
            _itemImage2 = itemImage2;
            _itemImage3 = itemImage3;
            _itemImage4 = itemImage4;
            _itemDescription = itemDescription;
        }

        public ItemsE(int itemID, string itemName, string auctionTypeName, int auctionID,
                double expectationPrice, double price, string timeFinishAuction)
        {
            _itemID = itemID;
            _itemName = itemName;
            _auctionTypeName = auctionTypeName;
            _auctionID = auctionID;
            _expectationPrice = expectationPrice;
            _price = price;
            _timeFinishAuction = timeFinishAuction;
        }
        public ItemsE(int itemID, string itemName, string auctionTypeName, int auctionID,
                double expectationPrice, double price, string timeFinishAuction, string winner)
        {
            _itemID = itemID;
            _itemName = itemName;
            _auctionTypeName = auctionTypeName;
            _auctionID = auctionID;
            _expectationPrice = expectationPrice;
            _price = price;
            _timeFinishAuction = timeFinishAuction;
            _winner = winner;
        }

        public ItemsE(int categoryID, string itemName, string itemImage1, string itemImage2, string itemImage3,
            string itemImage4, string itemDescription, int auctionTypeID, double firstPrice, double expectationPrice,
            string timeFinishAuction, double bidIncrement, int timeIncrement)
        {
            _categoryID = categoryID;
            _itemName = itemName;
            _itemImage1 = ItemImage1;
            _itemImage2 = ItemImage2;
            _itemImage3 = itemImage3;
            _itemImage4 = itemImage4;
            _itemDescription = itemDescription;
            _auctionTypeID = auctionTypeID;
            _firstPrice = firstPrice;
            _expectationPrice = expectationPrice;
            _timeFinishAuction = timeFinishAuction;
            _bidIncrement = bidIncrement;
            _timeIncrement = timeIncrement;
        }

        public ItemsE(int auctionID, int categoryID, string itemName, string itemImage1, string itemImage2,
                    string itemImage3, string itemImage4, string itemDescription)
        {
            _auctionID = auctionID;
            _categoryID = categoryID;
            _itemName = itemName;
            _itemImage1 = itemImage1;
            _itemImage2 = itemImage2;
            _itemImage3 = itemImage3;
            _itemImage4 = itemImage4;
            _itemDescription = itemDescription;
        }

        public ItemsE(int p1, string p2, string p3, int p4, double p5, double p6, object p7, string p8)
        {
            // TODO: Complete member initialization
            this.p1 = p1;
            this.p2 = p2;
            this.p3 = p3;
            this.p4 = p4;
            this.p5 = p5;
            this.p6 = p6;
            this.p7 = p7;
            this.p8 = p8;
        }
    }
}